package com.medata.repository;

import com.medata.dataObject.PicWord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PicWordRepository extends JpaRepository<PicWord,Integer> {
    void deleteByPhone(String phone);
    List<PicWord> getByPhone(String phone);
    void deleteById(Integer id);
    PicWord getById(Integer id);
}
